﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web.Server._default" %>

<%@ Import Namespace="Game.Utilities.Session" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Truy Tìm Kho Báu</title>
    <link href="http://sandbox.vtcgame.vn/commonMiniGame/css/header.css" rel="stylesheet" type="text/css" />


    <script src="Client/Engin/jquery-1.7.2.min.js"></script>
    
    <script type="text/javascript" src="http://sandbox.vtcgame.vn/commonMiniGame/js/ZenHeader.js"></script>
    <script src="Client/header.js"></script>

    

    <link href="Resource/css/style.css" rel="stylesheet" />
    <link href="Resource/css/jquery.mCustomScrollbar.css" rel="stylesheet" />

    <script src="Client/Engin/jquery.signalR-1.1.4.min.js"></script>
    <script src="http://localhost:1199/signalr/hubs" type="text/javascript"></script>
    <script src="Client/Engin/jquery.mCustomScrollbar.min.js"></script>


    <script src="Client/Engin/Ease.js"></script>
    <script src="Client/Engin/easeljs-NEXT.min.js"></script>
    <script src="Client/Engin/Event.js"></script>

    <script src="Client/Engin/EventDispatcher.js"></script>
    <script src="Client/Engin/HTMLAudioPlugin.js"></script>


    <script src="Client/Engin/WebAudioPlugin.js"></script>
    <script src="Client/Engin/preloadjs-0.3.1.min.js"></script>
    <script src="Client/Engin/Tween.js"></script>



    <script src="Client/portalEnginer.js"></script>
    <script src="Client/PortalGame.js"></script>
    <script src="Client/portalCommon.js"></script>

    <script src="Client/Game/spell.js"></script>
    <script src="Client/Game/gameEnginer.js"></script>
    <script src="Client/Game/portalMatrix.js"></script>
    <script src="Client/Mini/golddigger.js"></script>
    <script src="Client/Mini/diggerObj.js"></script>
    <script src="Client/Game/particalMatrix.js"></script>

</head>

<body onload="LoadEnginer();">
    <form id="form1" runat="server">
        <div id="h_header">
            <div id="divHeader" style="width: 100%; z-index: 100; position: fixed; top: 75px;">
            </div>
        </div>

        <div class="bg">
            <div class="page">
                <div id="gamPlay">
                    <div class="back">
                        <a href="javascript:">
                            <img src="Resource/images/back.png" width="153" height="49" /></a>
                    </div>
                    <%--<div class="free">
                        10
                    </div>--%>
                    <div class="money">
                        <div class="money_img"></div>
                    </div>
                    <div class="tool">
                        <ul>
                            <li class="cuoc" style="position: relative;">
                                <div class="cuoc_money">
                                    <div class="inner"></div>
                                </div>
                            </li>
                            <li class="dong" style="position: relative;">
                                <div class="dong_money">
                                    <div class="inner"></div>
                                </div>
                            </li>
                            <li class="thang">
                                <p>
                                    <span id="totalWin"><span class="num_0_24"></span></span>
                                    <div class="clear"></div>
                                    <span id="totalBet"><span class="num_0_24"></span></span>
                                </p>
                            </li>
                            <li><a href="javascript:" id="auto" class="auto"></a></li>
                            <li><a href="javascript:" id="spin" class="spin"></a></li>
                        </ul>
                        <div class="clear"></div>
                    </div>
                    <div id="RoomId" class="play1">
                        <canvas id="portalCanvas" width="589" height="306" style="position: absolute; left: 10px; top: 57px;"></canvas>


                    </div>

                    <!--play1-->

                    <div class="box1slot">
                        <div id="bangthuongId" class="bang_t1">
                        </div>
                    </div>
                    <!--box1-->

                    <div class="box2slot">
                        <div class="thongke1">
                            Số người đang chơi: <span>17970</span><br />
                            Số người online: <span>35690</span>
                        </div>
                        <div class="menu_tk">
                            <ul>
                                <li><a href="javascript:" class="giaodich" id="btn1"></a></li>
                                <li><a href="javascript:" class="vinhdanh_fix" id="btn2"></a></li>
                                <li><a href="javascript:" class="husao" id="btn3"></a></li>
                            </ul>
                            <div class="clear"></div>
                        </div>
                        <div class="text_tk">
                            <div class="mCustomScrollBox mCS-light" id="Div2" style="position: relative; height: 100%; overflow: hidden; max-width: 100%;">
                                <div class="mCSB_container" style="position: relative; top: 0px;">
                                    <div style="font-size: 100%; display: block;">
                                        <div id="vinhdanh">
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="text_lsgd" style="display: none;">
                            <div style="height: 175px;" id="content">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
                                    <thead>
                                        <tr>
                                            <td>Thời gian</td>
                                            <td>Đặt phòng</td>
                                            <td>Đặt Sao</td>
                                            <td>Kết quả</td>
                                            <td>Giải thưởng</td>
                                        </tr>
                                    </thead>
                                </table>
                            </div>
                            <div class="tienlui">
                                <ul>
                                    <li><a href="javascript:;" class="lsgd_tt"></a></li>
                                    <li><a href="javascript:;" class="lsgd_t"></a></li>
                                    <li>
                                        <input name="page" id="page" type="text" value="1" /></li>
                                    <li><a href="javascript:;" class="lsgd_l"></a></li>
                                    <li><a href="javascript:;" class="lsgd_ll"></a></li>
                                </ul>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                    <!--box2-->

                    <div class="box3slot">
                        <ul class="bang_line">
                            <li><a href="javascript:" class="line1" alt="1"></a></li>
                            <li><a href="javascript:" class="line2" alt="2"></a></li>
                            <li><a href="javascript:" class="line3" alt="3"></a></li>
                            <li><a href="javascript:" class="line4" alt="4"></a></li>
                            <li><a href="javascript:" class="line5" alt="5"></a></li>
                            <li><a href="javascript:" class="line6" alt="6"></a></li>
                            <li><a href="javascript:" class="line7" alt="7"></a></li>
                            <li><a href="javascript:" class="line8" alt="8"></a></li>
                            <li><a href="javascript:" class="line9" alt="9"></a></li>
                            <li><a href="javascript:" class="line10" alt="10"></a></li>
                            <li><a href="javascript:" class="line11" alt="11"></a></li>
                            <li><a href="javascript:" class="line12" alt="12"></a></li>
                            <li><a href="javascript:" class="line13" alt="13"></a></li>
                            <li><a href="javascript:" class="line14" alt="14"></a></li>
                            <li><a href="javascript:" class="line15" alt="15"></a></li>
                            <li><a href="javascript:" class="line16" alt="16"></a></li>
                            <li><a href="javascript:" class="line17" alt="17"></a></li>
                            <li><a href="javascript:" class="line18" alt="18"></a></li>
                            <li><a href="javascript:" class="line19" alt="19"></a></li>
                            <li><a href="javascript:" class="line20" alt="20"></a></li>
                        </ul>
                        <div class="clear"></div>
                        <ul class="menu_line">
                            <li><a href="javascript:" onclick="javascript:PortalCommon.selectEven();" class="menu_l1"></a></li>
                            <li><a href="javascript:" onclick="javascript:PortalCommon.selectOdd();" class="menu_l2"></a></li>
                            <li><a href="javascript:" onclick="javascript:PortalCommon.selectAllLine();" class="menu_l3"></a></li>
                            <li><a href="javascript:" onclick="javascript:PortalCommon.removeAllLine();" class="menu_l4"></a></li>
                        </ul>
                        <div class="clear"></div>
                    </div>
                    <!--box3-->

                    <div class="box4slot">
                        <div class="chat">
                            <div class="mCustomScrollBox mCS-light" id="Div1" style="position: relative; height: 100%; overflow: hidden; max-width: 100%;">
                                <div class="mCSB_container" style="position: relative; top: 0px;">
                                    <div style="font-size: 100%; display: block;">
                                        <div id="messages">
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                        <div class="text_chat">
                            <input id="textChat" type="text" placeholder="" />
                        </div>
                    </div>
                    <!--box4-->
                </div>

                <div id="lobbyPlay">
                    <div class="logo">
                        <img src="Resource/images/logo.png" width="558" height="72" />
                    </div>
                    <div class="chon_game">
                        <ul>
                            <li><a href="javascript:" id="room100Id">
                                <img src="Resource/images/m1.png" width="293" height="515" /></a></li>
                            <li><a href="javascript:" id="room1000Id">
                                <img src="Resource/images/m2.png" width="265" height="516" /></a></li>
                            <li><a href="javascript:" id="room10000Id">
                                <img src="Resource/images/m3.png" width="340" height="516" /></a></li>
                        </ul>
                        <div class="clear"></div>
                    </div>

                </div>
                <div id="loadding" style="margin-top: 300px; margin: 0; text-align: center; font-size: 80px; color: yellow; padding-top: 250px; font-weight: bold;">
                </div>

            </div>
            <!--page-->
        </div>
        
         <div style="clear: both;"></div>
        <div>
            <div id="footerHtml">
            </div>
        </div>

        <asp:HiddenField runat="server" ID="hddAcc" Value="" />
        <asp:HiddenField runat="server" ID="hddInfoSao" Value="" />
        <asp:HiddenField runat="server" ID="hddLinkLogin" Value="" />

        <script type="text/javascript">
            var linkLogin = '<%=LoginUrl%>';
            var isLogin =<%=isSign%>;
            $(document).ready(function () {
              
                    
                $("#gamPlay").hide();
                $("#lobbyPlay").hide();
                $("#Div1").mCustomScrollbar();
                $("#Div2").mCustomScrollbar();

                PortalCommon.onMouseSelect();
                
                PortalCommon.historyButton();
                PortalCommon.bindClickPage();
            
                PortalCommon.isSign = <%=isSign%>;
                
             
                InitHeader();                
                var accInfo = $("#hddAcc").val();
                
                ZenderHtml.GetUrlLogin('<%=LoginUrl%>');
                ZenderHtml.ZenderHeader(accInfo);	
                ZenderHtml.HtmlFooter();
                
                

                
         
            });
           
     
              
            InitHeader = function () {
                $('#h_header').h_BindData({
                    isSigned: <%=isSign%>,
                    loginUrl: '<%=LoginUrl%>',
                    logoutUrl: ' http://localhost:1199/SSO/logout.aspx',
                    nickName: '<%=AccountSession.AccountName%>',
                    avatarUrl: 'http://media.vtcgame.vn/avatar/avatarstorage/ping_header.png',
                    settingUrl: 'http://profile.vtcgame.vn/',
                    profileUrl: 'http://profile.vtcgame.vn/'
                });
            };
            
            


        </script>
       
    </form>


</body>
</html>
